package com.hj.dapp.business.role.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hj.dapp.business.menu.dto.BindMenuDto;
import com.hj.dapp.business.role.model.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 胡奥程
 * @version 1.0
 * @date 2023/12/29
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    List<Role> getRoleListByUserId(@Param("userId") Long userId);
    List<Role> getRoleListByUser(@Param("username") String username);

}
